home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Business & Presentations
/
Business and Presentations - Volume 1 (1995)(Sideface)(NL).iso
/
cad
/
pcd
/
bbsinst.bat
< prev
next >
Wrap
DOS Batch File
|
1993-02-28
|
3KB
|
91 lines
echo off
cls
echo\
echo ┌────────────────────────────────────────────────────────────┐
echo │ PC-Draft-CAD Installation (BBS version) │
echo │ This will create a START.BAT file apropriate for your│
echo │ display system. It creates 4 subdirectories for │
echo │ fonts, drawings, libraries, and macros -- and copies │
echo │ the appropriate files to them. │
echo │ │
echo │ This batch file is for those of you who │
echo │ have obtained PC-Draft-CAD from a BBS and have │
echo │ unpacked the three self extracting LHARC EXE files. │
echo │ │
echo │ If you got PC-Draft-CAD on disk, you should not │
echo │ run this. Instead run the INSTALL.BAT file on the │
echo │ floppy disk. │
echo │ │
echo │ You should have all the files from the three self- │
echo │ extracting EXE files in one sub-directory before │
echo │ running this. │
echo │ │
echo │ If you do not wish to continue, press Ctrl-C. │
echo │ │
echo └────────────────────────────────────────────────────────────┘
echo\
pause
md fon
md dwg
md lib
md mac
copy *.fon fon
del *.fon
copy *.dwg dwg
del *.dwg
copy *.lib lib
del *.lib
copy *.mac mac
del *.mac
cls
vidtest
if errorlevel 7 goto HERCULES
if errorlevel 5 goto VGACOLOR
if errorlevel 4 goto VGAMONO
if errorlevel 3 goto EGACOLOR
if errorlevel 2 goto EGAMONO
if errorlevel 1 goto CGA
echo Error in detecting video adapter
goto exit
:HERCULES
set vtype=Hercules
copy hgcstart.bat start.bat
del vgadrv.com
del cgadrv.com
del svgadrv.com
goto exit
:VGACOLOR
set vtype=VGA-Color
goto VGA
:EGACOLOR
set vtype=EGA-Color
goto VGA
:VGAMONO
set vtype=VGA-Mono
copy cga.cfg draft3.cfg
goto MONO
:EGAMONO
set vtype=EGA-Mono
:MONO
copy cga.cfg draft3.cfg
:VGA
copy vgastart.bat start.bat
del hgcdrv.exe
goto exit
:CGA
set vtype=CGA
copy cgastart.bat start.bat
copy cga.cfg draft3.cfg
:exit
echo You have a %vtype% type video display
:exit2
echo\
echo ┌────────────────────────────────────────────────────────────┐
echo │ Installation is complete. To start PC-Draft-CAD, enter: │
echo │ │
echo │ START │
echo └────────────────────────────────────────────────────────────┘
echo\
echo\